package com.bw.servlet;

import com.bw.mapper.StuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author 31629
 * @date 2025年09月02日 9:05
 */
@Service
public class StuServletImpl implements StuServlet {
    @Autowired
    private StuMapper stuMapper;

    @Override
    public List<Map<String, Integer>> select1() {
        return stuMapper.select1();
    }

    @Override
    public List<Map<String, Integer>> select2(String na) {
        return stuMapper.select2(na);
    }


    @Override
    public List<Map<String, Integer>> select3(String s, String e) {
        return stuMapper.select3(s,e);
    }
}
